set -e
yarn
git add .
read -p "Commits: " commit
git commit -S -m "$commit"
git push
yarn docs:build
cd src/.vuepress/dist
git init
git config user.name '2192138785@qq.com'
git config user.email '2192138785@qq.com'
git add -A
git commit -m "deploy: $(date +"%Y年%m月%d日 %T %:z")"
git push -f https://gitee.com/wayfiretech_admin/dandi-doc.git master:gh-pages
cd -